package com.dyna.cp.mybatis.domain.resp;

import com.dyna.cp.mybatis.domain.entity.DemoFriend;
import com.dyna.cp.mybatis.domain.entity.DemoParent;
import com.dyna.cp.mybatis.domain.entity.DemoUser;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("用户响应信息")
public class DemoUserResp extends DemoUser {

    /**
     * 父母信息
     */
    private DemoParent demoParent;

    /**
     * 朋友列表
     */
    private List<DemoFriend> friendList;

}
